package cn.afterturn.easypoi.holder;


public class ImportHolder {

    private static ThreadLocal<Boolean> THREAD_LOCAL = new ThreadLocal<Boolean>();


    public static void set(Boolean isImport){
        THREAD_LOCAL.set(isImport);
    }

    public static Boolean get(){
        Boolean b = THREAD_LOCAL.get();
        if(b == null){
            return Boolean.FALSE;
        }else {
            return b;
        }
    }


}
